# -*- coding: utf-8 -*-
"""
@author: YuHaiyang

"""


def print_hi(name):
    # Use a breakpoint in the code line below to debug your script.
    print(f'Hi, {name}')  # Press ⌘F8 to toggle the breakpoint.


# Press the green button in the gutter to run the script.
if __name__ == '__main__':
    import torch

    uris = [
        'http://images.cocodataset.org/test-stuff2017/000000024309.jpg',
        'http://images.cocodataset.org/test-stuff2017/000000028117.jpg',
        'http://images.cocodataset.org/test-stuff2017/000000006149.jpg',
        'http://images.cocodataset.org/test-stuff2017/000000004954.jpg',
    ]
    utils = torch.hub.load('NVIDIA/DeepLearningExamples:torchhub', 'nvidia_convnets_processing_utils')
    batch = torch.cat(
        [utils.prepare_input_from_uri(uri) for uri in uris]
    )
